﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="publish2.aspx.cs" Inherits="SponsorshipWeb.personal.publish2" %>

<!DOCTYPE html>
<html lang="en">
<head>
    <title>宾果高校</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="stylesheet" href="../css/bootstrap.min.css">
    <link rel="stylesheet" href="../css/style.css">
    <link rel="stylesheet" href="../css/sweetalert.min.css" />
    <script src="../js/jquery-1.12.2.min.js"></script>
    <script src="../js/validator.min.js"></script>
    <script src="../js/common.js"></script>
    <script src="../js/sweetalert.min.js"></script>
</head>
<body>
    <div id="searchPage"></div>
    <div class="main">
        <div class="wrap">
            <div class="panel panel-default">
                <div class="panel-body">
                    <div class="form-wrap">
                        <form id="formValidate" runat="server" class="form-horizontal">
                            <div class="form-group">
                                <label for="">请填写活动简介</label>
                                <asp:TextBox runat="server" ID="txtRemark" class="form-control" data-error="请填写活动简介" required></asp:TextBox>
                                <div class="help-block with-errors"></div>
                            </div>
                            <div class="form-group">
                                <label for="">请上传策划书</label>
                                <asp:FileUpload ID="fuBook" class="form-control" data-error="请上传策划书" required runat="server" />
                                <div class="help-block with-errors"></div>
                            </div>
                            <div class="form-group">
                                <label for="">请上传活动图片1（往届图片）</label>
                                <asp:FileUpload ID="fuImg1" class="form-control" data-error="请上传活动图片1" required runat="server" />
                                <div class="help-block with-errors"></div>
                            </div>
                            <div class="form-group">
                                <label for="">请上传活动图片2（往届图片）</label>
                                <asp:FileUpload ID="fuImg2" class="form-control" data-error="请上传活动图片2" required runat="server" />
                                <div class="help-block with-errors"></div>
                            </div>
                            <div class="form-group">
                                <label for="">请上传活动图片3（往届图片）</label>
                                <asp:FileUpload ID="fuImg3" class="form-control" data-error="请上传活动图片3" required runat="server" />
                                <div class="help-block with-errors"></div>
                            </div>
                            <div class="text-center">
                                <asp:Button runat="server" ID="btnNext" OnClick="btnNext_Click" class="btn btn-default" OnClientClick="return Go()" Text="提交" />
                                <asp:HiddenField runat="server" ID="hfProjectID" />
                                <asp:HiddenField runat="server" ID="hfMode" />
                                <asp:HiddenField runat="server" ID="hfUserID" />
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
</html>
<script>

    $("#searchPage").load("header.html", function () {
        SetCss("Pub");
    });

    function Go() {
        if (!common.validateForm())
            return false;
    }

</script>